<!DOCTYPE HTML>
<html>
	<head>
	<style>
		body{font-family: Simsun;}
		table{width: 660px; height: 900px;}
		
		.tr-1{height: 50px;}
		.tr-2{height: 15px;}
		.tr-3{height: 38px;}
		
		.td-1-barcode-img{width: 160px;}
		img{width: 160px;height: 48px;}
		
		.td-middle{width: 90px;}
		
		.td-2-barcode{width: 160px; text-align: center;}
		
		.td-3-left{width: 30px; text-align: center;}
		.td-3-right{width: 130px; text-align: center; font-size: 12px;}
	</style>
	</head>
	<body style="font-family: SimSun;line-height:1">
		<div style="width:100%;">
			<#list 1..(totalPage?number)!0 as i>
			<table>
				<#list 1..9 as j>
				<tr class="tr-1">
					<#if ((i-1)*27 + (j-1)*3 + 1) lte num>
					<td class="td-1-barcode-img" colspan="2"><img alt="" src="${imgFile}" /></td>
					<#else>
					<td class="td-1-barcode-img" colspan="2"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 2) lte num>
					<td class="td-1-barcode-img" colspan="2"><img alt="" src="${imgFile}" /></td>
					<#else>
					<td class="td-1-barcode-img" colspan="2"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 3) lte num>
					<td class="td-1-barcode-img" colspan="2"><img alt="" src="${imgFile}" /></td>
					<#else>
					<td class="td-1-barcode-img" colspan="2"></td>
					</#if>
				</tr>
				<tr class="tr-2">
					<#if ((i-1)*27 + (j-1)*3 + 1) lte num>
					<td class="td-2-barcode" colspan="2">${productCode}</td>
					<#else>
					<td class="td-2-barcode" colspan="2"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 2) lte num>
					<td class="td-2-barcode" colspan="2">${productCode}</td>
					<#else>
					<td class="td-2-barcode" colspan="2"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 3) lte num>
					<td class="td-2-barcode" colspan="2">${productCode}</td>
					<#else>
					<td class="td-2-barcode" colspan="2"></td>
					</#if>
				</tr>
				<tr class="tr-3">
					<#if ((i-1)*27 + (j-1)*3 + 1) lte num>
					<td class="td-3-left">NEW</td>
					<td class="td-3-right">${productNameEn}</td>
					<#else>
					<td class="td-3-left"></td>
					<td class="td-3-right"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 2) lte num>
					<td class="td-3-left">NEW</td>
					<td class="td-3-right">${productNameEn}</td>
					<#else>
					<td class="td-3-left"></td>
					<td class="td-3-right"></td>
					</#if>
					<td class="td-middle"></td>
					<#if ((i-1)*27 + (j-1)*3 + 3) lte num>
					<td class="td-3-left">NEW</td>
					<td class="td-3-right">${productNameEn}</td>
					<#else>
					<td class="td-3-left"></td>
					<td class="td-3-right"></td>
					</#if>
				</tr>
				</#list>
			</table>
			</#list>
		</div>
	</body>
</html>